const config = {
	'production': {
		'ip': '/',
		'aliyundomain': 'https://at-images.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wxed08ecec63f0dfb4',
		'host': 'https://www.atzuche.com/',
		'sharedomain': 'https://www.atzuche.com/hcskill/start'
	},
	'prerelease':{
		'ip': '/',
		'aliyundomain': 'https://at-images.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wxed08ecec63f0dfb4',
		'host': 'https://www.atzuche.com/',
		'sharedomain': 'https://www.atzuche.com/hcskill/start'
	},
	'development':{
		'ip': 'https://wechattest.atzuche.com/',
		'aliyundomain': 'https://at-images-test.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wx11f6fa2a087fb6b1',
		'host': 'https://testh5.atzuche.com/',
		'sharedomain': 'https://wechattest.atzuche.com/h5/hcskill/start'
	},
	'test1':{
		'ip': 'https://wechattest.atzuche.com/',
		'aliyundomain': 'https://at-images-test.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wx11f6fa2a087fb6b1',
		'host': 'https://test1-web.atzc.com/',
		'sharedomain': 'https://wechattest.atzuche.com/h5/hcskill/start'
	},
	'test2':{
		'ip': 'https://wechattest.atzuche.com/',
		'aliyundomain': 'https://at-images-test.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wx11f6fa2a087fb6b1',
		'host': 'https://test2-web.atzc.com/',
		'sharedomain': 'https://wechattest.atzuche.com/h5/hcskill/start'
	},
	'test3':{
		'ip': 'https://wechattest.atzuche.com/',
		'aliyundomain': 'https://at-images-test.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wx11f6fa2a087fb6b1',
		'host': 'https://test3-web.atzc.com/',
		'sharedomain': 'https://wechattest.atzuche.com/h5/hcskill/start'
	},
	'test4':{
		'ip': 'https://wechattest.atzuche.com/',
		'aliyundomain': 'https://at-images-test.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wx11f6fa2a087fb6b1',
		'host': 'https://test4-web.atzc.com/',
		'sharedomain': 'https://wechattest.atzuche.com/h5/hcskill/start'
	},
	'test5':{
		'ip': 'https://wechattest.atzuche.com/',
		'aliyundomain': 'https://at-images-test.oss-cn-hangzhou.aliyuncs.com/',
		'appid': 'wx11f6fa2a087fb6b1',
		'host': 'https://testh5.atzuche.com/',
		'sharedomain': 'https://wechattest.atzuche.com/h5/hcskill/start'
	}
}

const DB = config[process.env.NODE_ENV] || config['development'];

module.exports = { DB }